package com.hdl.school.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.hdl.school.service.CheckAppAliveService;

public class CheckAppAliveReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO: This method is called when the BroadcastReceiver is receiving
        // an Intent broadcast.
        Intent intent1=new Intent(context, CheckAppAliveService.class);
        context.startService(intent1);
    }
}